home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19961006-19970104 / 000004_news@columbia.edu _Mon Oct 7 09:42:47 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id JAA08027 for <kermit.misc@watsun.cc.columbia.edu>; Mon, 7 Oct 1996 09:42:47 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id JAA26897 for kermit.misc@watsun; Mon, 7 Oct 1996 09:42:46 -0400 (EDT)
  4. Path: news.columbia.edu!not-for-mail
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: C-KERMIT on VAX/VMS - what am I doing wrong ???
  8. Date: 7 Oct 1996 09:42:40 -0400
  9. Organization: Columbia University
  10. Lines: 51
  11. Message-ID: <53b1cg$7qn@watsun.cc.columbia.edu>
  12. References: <5394jc$qc2@ezekiel.ieunet.ie>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <5394jc$qc2@ezekiel.ieunet.ie>,
  16. Eoin Bairead <ebairead@login.ieunet.ie> wrote:
  17. : I've put C-Kermit on a VAX running VMS, to replace Kermit-32,
  18. : and I want to write a simple script to login to a unix box, and
  19. : transfer a file.
  20. : So I define CKERMIT as a foreign command and I go:
  21. : $ CKERMIT
  22. : C-Kermit>set line ker$comm
  23. : C-Kermit>out \13
  24. : C-Kermit>input 5 login:
  25. : C-Kermit>out username\13
  26. : C-Kermit>input 5 Password:
  27. : C-Kermit>out secret\13
  28. : C-Kermit>input 5 $
  29. : C-Kermit>out ckermit -x\13
  30. : C-Kermit>send myfile.dat
  31. : C-Kermit>finish
  32. : C-Kermit>out exit\13
  33. : and that works fine.
  34. : so I put the above lines in a file - XFILE.INI
  35. : set line ker$comm
  36. : out \13
  37. : input 5 login:
  38. : out username\13
  39. : input 5 Password:
  40. : out secret\13
  41. : input 5 $
  42. : out ckermit -x\13
  43. : send myfile.dat
  44. : finish
  45. : out exit\13
  46. : and I go:
  47. : $ CKERMIT
  48. : C-Kermit>take XFILE.ini
  49. : and it falls over - it doesn't seem to want to OUTPUT anything
  50. : and I get "invalid password" messages.
  51. You posted this same question about a week ago and I answered it, right?
  52. Once again: try inserting "sleep 1" after "input 5 Password:" and before
  53. "out secret\13".
  54.  
  55. For a fuller explanation, see the earlier posting, or the manual, "Using
  56. C-Kermit".
  57.  
  58. - Frank